home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
PDraw3.0.adf
/
pdraw_rex.lzh
/
ObjecttoLayer.pdrx
< prev
next >
Wrap
Text File
|
1992-06-22
|
615b
|
30 lines
/*
@N
This Genie will move an object or a selection of objects to a particular
layer on the current page
*/
call pdm_AutoUpdate(0)
numsel = pdm_NumSelObjs()
if numsel = 0 then exit_msg("Please select a group of objects first")
cpage = pdm_CurrentPage()
if cpage = 0 then exit_msg("This Genie only works with objects on a page")
pobj = pdm_ClickOnObj("Click on object to put selected objects behind...")
if pobj = 0 then exit_msg()
call pdm_ObjBehind(, pobj)
exit_msg()
exit_msg: procedure
do
parse arg message
if message ~= '' then call pdm_Inform(1, message,)
call pdm_AutoUpdate(1)
exit
end